// 获取角色列表
// 传参
export type paramsType = {
    roleName?: string
    pageNo: number
    pageSize: number
    total: number
}
// 返回结果
export type resultType = {
    countId: null | number
    current: number
    maxLimit: null
    optimizeCountSql: boolean
    orders: []
    pages: number
    records: Array<recordsType>
    searchCount: boolean
    size: number
    total: number
}
export type recordsType = {
    id: string,
    roleName: string,
    roleCode: string,
    description: string,
    delFlag: string,
    createBy: string,
    createTime: string,
    updateBy: string,
    updateTime: string,
    tenantId: number
}

// 添加角色
// 传参
export type paramsAdd = {
    createBy?: string,
    createTime?: string,
    delFlag?: string,
    description: string,
    id?: string,
    roleCode: string,
    roleName: string,
    tenantId?: number,
    updateBy?: string,
    updateTime?: string
}
